package com.fly.consumers.feign.fallback;

import java.util.HashMap;

import org.springframework.stereotype.Component;

import com.fly.consumers.feign.HelloFeign;

@Component
public class HelloFallback implements HelloFeign {

	@Override
	public String hello() {
		return "feign hystrix fallback!";
	}

	@Override
	public String hello2(HashMap<String, String> param) {
		return "feign hello2 hystrix fallback!";
	}

}
